<cfoutput>
   <cfset FN = "sFormViewDys">
   <cfset fld1 = "PATT"&concat>
   <cfset fld2 = "DESC"&concat>
   <cfset fld3 = "CAT"&concat>
   <cfset fld4 = "REM"&concat>
   <cfset uid = client.userid>
   <cfset ajaxmsg ="WSID=#wsid#&RD=#DateFormat(sdate,'YYYYY-MM-DD')#&pID=#PERSONNELIDNO#&guID=#GUID#&usID=#uid#">
   <cfset ajaxDomain = client.domain>
   <cfset ajaxClick = "javascript:update_history('#ajaxDomain#','#ajaxmsg#','#concat#','nsub')">
   
   
   
   <cfset ajaxClick2 = "javascript:update_history('#ajaxDomain#','#ajaxmsg#','#concat#','nlv')">
   <cfset showLK = "javascript:LookupWSPATTERN('#fld1#','#fld2#','#fld3#','#FN#')">
   <cfset showHDR = "javascript:showHdr('#concat#')">
   <cfset showBody = "javascript:showBody('#concat#')">
   
   
   
   
<div id="#jdate##PERSONNELIDNO#" class="popUp" 
	onmouseover="showPop('#jdate##PERSONNELIDNO#')" style="text-align:left">
    
    <div style="text-align:start">
    	<a href="javascript:hidePop()" style="text-align:right; text-decoration:none">[ X ]</a>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    	<b>Schedule Manager</b>
        
    </div>
    
    <hr />
    <B>#NAME# (#DateFormat(sdate,"MMM. DD, YYYY")#)</B><BR />
    <HR />
    <div id="#concat#hdr">
    	<ul>
        	<cfif isLv>
            	<cfset sty= "display:none">
			<cfelse>
            	<cfset sty= "display:block">
            </cfif>
            <div id="#concat#Force2lv" style="#sty#">
                <li><a href="#ajaxClick2#"><b>Force to leave</b></a></li>
            </div>
	        <li><a href="#showBody#"><b>Change Schedule</b></a></li>
        </ul>
    </div>
    <div id="#concat#body" style="display:none">
    	<div style="text-align:right"> 
	    	<a href="#showHDR#" style="text-align:right; text-decoration:none">
            	Back
            </a>
        </div>
        <B>Schedule Code:</B><br />
            <INPUT TYPE = "TEXT" VALUE="" NAME = "#fld1#" READONLY style="background:inherit"/>
            <a href="#showLK#"> 
                <img src="#client.icon_path#lookup.gif" border="0" alt="Select from Lookup">
            </a>
        <B>Description:</B><BR />
            <INPUT TYPE="TEXT" NAME="#fld2#"  READONLY VALUE="" style="background:inherit"/><BR />
        <B>Remarks:</B><BR />
        	<INPUT TYPE="TEXT" NAME="#fld4#" VALUE="" />&nbsp;
            <input type="button" name="SAVE"  value="save" style ="width:60px" class="bitbtn" 
            onclick="#ajaxClick#"/> 
            
        <INPUT TYPE="hidden" NAME="#fld3#"  READONLY VALUE="" /> 
	</div>
</div>
</cfoutput>